package cn.com.hatech.blog.common.constant;

/**
 * @projectName: hatech-blog
 * @package: cn.com.hatech.blog.common.constant
 * @className: ErrorCode
 * @author: xuruikai
 * @description: 异常编码
 * @date: 2020/1/11 14:27
 * @version: 1.0
 */
public class ErrorCode {
    /**
     * 非法请求
     */
    public static final String BAD_REQUEST = "BAD REQUEST";
    /**
     * 登录错误最大次数
     */
    public static final int LOGIN_ERROR_MAX_COUNT = 3;
    /**
     * 登录错误超过最大次数后等待时间
     */
    public static final int LOGIN_ERROR_WAIT_TIME = 10 * 60;
    /**
     * 访问接口404
     */
    public static final int NOT_FOUND = 404;
}
